package fr.umlv.m2.uwp2011.service.user;

import java.util.List;

public interface UserDAO {

	public List<UserDTO> getAllUser();
	
	/**
	 * return a group of user (teacher, student, or secretary...)
	 * @param group
	 * @return a group of user (teacher, student, or secretary...)
	 */
	public List<UserDTO> getGroupUser(int group);

	public UserDTO getUserDetails(String login, String password);
	
	public UserDTO getUserDetails(String login);
	
	public boolean insertUser(UserDTO userDTO);
	
	public boolean updateUser(UserDTO userDTO);
	
	public boolean deleteUser(UserDTO userDTO);
	
}